﻿namespace Shop.RemoteModel.PageModuleGoods.Model
{
    public class ModuleGoodsDto
    {
        
        public long Id { get; set; }

        /// <summary>
        /// 排序号
        /// </summary>
        public int Sort { get; set; }
        /// <summary>
        /// 商品ID
        /// </summary>
        public long GoodsId { get; set; }

        /// <summary>
        /// 商品名
        /// </summary>
        public string GoodsName { get; set; }

        /// <summary>
        /// 价格 
        ///</summary>
        public decimal Price { get; set; }
       
        /// <summary>
        /// Spu
        /// </summary>
        public string GoodsSpu { get; set; }

        public long CategoryId {  get; set; }

        /// <summary>
        /// 类目
        /// </summary>
        public string Category { get; set; }

        /// <summary>
        /// 主图
        /// </summary>
        public string MainImg { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public GoodsStatus Status { get; set; }

        /// <summary>
        /// 拥有的SKU数量
        /// </summary>
        public short SkuNum { get; set; }

        /// <summary>
        /// 是否为虚拟商品
        /// </summary>
        public bool IsVirtual { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime AddTime { get; set; }

    }
}
